Windows Forms - Objeto String
Module Objeto_String

 Public Sub ObjetoStringx()

operações com strings



   Dim MeuString As String = "Isto é um string de teste "

SubString - Obtém parte do String

   MeuString = MeuString.Substring(0, 4) 'retorna o string a partir da posição 0, 4 caracteres - retorna "Isto"

   Dim Length As Integer = MeuString.Length 'Tamanho do string-Retorna 4

ToUpper - Converte para maiúsculas (inclusive acentuados)

   MeuString = MeuString.ToUpper() 'maiúscula - Retorna "ISTO"
   MeuString = "e ai".ToUpper() ' maiusculas-Seta MeuString para o valor"E AI"

ToLower - Converte para minúsculas

   MeuString = "CABECAO".ToLower() ' minusculas-Seta MeuString para o valor"cabeção"

Trim - Elimina espaços antes e depois do string

Infelizmente não elimina tabs.

   MeuString = MeuString.Trim() 'retira espaços do inicio e do fim-retorna = "Isto é um string de teste"
   MeuString = MeuString.TrimEnd() 'retira espaços do fim-retorna = "Isto é um string de teste"
   MeuString = MeuString.TrimStart() 'retira espaços do inicio e do fim-retorna = "Isto é um string de teste"

PaddingLeft - Acrescenta caracteres à esquerda do string

   MeuString = MeuString.PadLeft(8, "@") 'adiciona o caractere @ a esquerda do string até dar o tamanho 8

PaddingRight - Acrescenta caracteres à direita do string

   MeuString = MeuString.PadRight(8, "@") 'adiciona o caractere @ a direita do string até dar o tamanho 8

Insert - Insere um string dentro de uma posição específica de outro string

   MeuString = MeuString.Insert(8, "Alo") 'adiciona o string "Alo" na oitava posição do string

Remove - Remove n caracteres de uma posição específica de outro string

   MeuString = MeuString.Remove(8, 5) 'remove 8 caracteres a partir da posição 5 do string

Replace - Troca um string por outro string dentro de um string

Nota : Só uma vez. Se o string repetir n vezes só a primeira será removida.

   MeuString = MeuString.Replace("X", "Y") 'retorna o string trocando os caracteres X por 5
   MeuString = MeuString.Replace("IS", "ES") 'Substitui caracteres-Retorna "ESTE"

StartsWith - Devolve true se o string começa com o string fornecido

   MeuString = MeuString.StartsWith("ISTO") 'Devolve true se o string começa com o string "ISTO"

EndsWith - Devolve true se o string termina com o string fornecido

   MeuString = MeuString.EndsWith("ISTO") 'Devolve true se o string termina com o string "ISTO"

IndexOf - Retorna em qual posição o sub-string foi encontrado dentro de um string

0 a n : achou.
Retorna -1 se não encontrar.
Pesquisando da direita para a esquerda do string

   MeuString = MeuString.IndexOf("ST") 'Devolve a posição que o string "ST" foi encontrado

LastIndexOf - Retorna em qual posição o sub-string foi encontrado dentro de um string

0 a n : achou.
Retorna -1 se não encontrar.
Pesquisando da esquerda para a esquerda do string

   MeuString = MeuString.LastIndexOf("ST") 'Devolve a posição que o string "ST" foi encontrado

Split - Separa um string com campos delimitados para um array

   Dim MeuArray() As String = MeuString.Split(",") ' quebra o string de acordo com o separador , dentro de uma matriz
   Dim MeuString1 As String = [String].Join(",", MeuArray) ' une os elementos de uma matriz dentro de um string adicionando o separador para identificar cada elemento

   MeuString = MeuString.Trim().Substring(0, 4).ToUpper().Replace("IS", "ES")

Lenght - Tamanho do string

   Dim tam As Integer = MeuString.Length ' tamanho do str

Compare - Compara um stringcom outro

   Dim cmp As Integer = String.Compare("StrA", "StrB") 'devolve a posição do StrB no StrA

Contains - Devolve true se um string contém o string especidificado

   Dim cmp2 As Boolean = MeuString.Contains("str") 'devolve true se o MeuString contém o str

Equals - Retorna true se os strings são idênticos

   Dim cmp3 As Boolean = MeuString.Equals("str") ' devolve true se os 2 strs são iguais

Convertendo um número para string com formatação

   Dim CNPJ As Long = 5662546000135
   Dim CNPJFormatado As String = String.Format("{0:00\.000\.000\/0000\-00}", CNPJ) '/Formatar de Long para CNPJ   String.Format(@"{0:00\.000\.000\/0000\-00}", CNPJ)

Concat - Adiciona um string em outro

   Dim strA As String = "strA"
   Dim strB As String = "strB"
   Dim strC As String = String.Concat(strA, strB)


Súmula dos formatos possíveis

No exemplo para variáveis tipo double usamos o valor 1.2345 e para variáveis tipo inteira usamos o valor -12345.

Utilização :
1-O valor a ser formatado originalmente tem que ser numérico.

Especificador Tipo Formato Entrada Saída
c Moeda {0:c2} a = 1.236677666;b = a.ToString("C2") R$ 1,23
d(*3) Decimal {0:d} a = 12345;b = a.ToString("D") 12345
e Exponencial ou Notação científica {0:e} a = 12345.678;b = a.ToString("E") 1,2345678E+004
f Ponto fixo {0:f} 12345.678;b = a.ToString("F") 12345,678
g Formato geral {0:g} 12345.678;b = a.ToString("G") 12345,678
n Numérica com separadores de milhar {0:n} 12345.678;b = a.ToString("N") 12.345,00
r (*4) Arredondado {0:r} a = 12345.678;b = a.ToString("R") 12345,678
x Hexadecimal {0:x} a = 123;b = a.ToString("X") 7B

*1 - Caso precisemos do número de casas decimais fixas deve-se acrescentar o número de casas decimais.
Ex : C2

*2 - Se não especificar-mos o idioma será utilizado o idioma corrente do sistema.
Podemos definir em que idioma queremos que o campo seja formatado :
en-US, fr-FR, ja-JP

*3 - Só aceita valores inteiros como parâmetros de entrada.

* 4 - Compatível com os tipos Single, Double e BigInteger.



caracteres especiais

   '\'   apostrofo
   '\"   aspas
   '\\   barra invertida
   '\a   beep
   'n   nova linha
   'r   retorno do carro
   't   tabulação horizontal


Também pertence a String as funções

   'String(Char*) Initializes a new instance of the String class to the value indicated by a specified pointer to an array of Unicode characters.
   'String(Char()) Initializes a new instance of the String class to the value indicated by an array of Unicode characters.
   'String(SByte*) Initializes a new instance of the String class to the value indicated by a pointer to an array of 8-bit signed integers.
   'String(Char, Int32) Initializes a new instance of the String class to the value indicated by a specified Unicode character repeated a specified number of times.
   'String(Char*, Int32, Int32) Initializes a new instance of the String class to the value indicated by a specified pointer to an array of Unicode characters, a starting character position within that array, and a length.
   'String(Char(), Int32, Int32) Initializes a new instance of the String class to the value indicated by an array of Unicode characters, a starting character position within that array, and a length.
   'Public method String(SByte*, Int32, Int32) Initializes a new instance of the String class to the value indicated by a specified pointer to an array of 8-bit signed integers, a starting position within that array, and a length.
   'Public method String(SByte*, Int32, Int32, Encoding) Initializes a new instance of the String class to the value indicated by a specified pointer to an array of 8-bit signed integers, a starting position within that array, a length, and an Encoding object.
   'Public propertySupported by the XNA FrameworkSupported by Portable Class LibrarySupported in .NET for Windows Store apps Length Gets the number of characters in the current String object.
   'Clone Returns a reference to this instance of String.
   'Compare(String, String) Compares two specified String objects and returns an integer that indicates their relative position in the sort order.
   'Compare(String, String, Boolean) Compares two specified String objects, ignoring or honoring their case, and returns an integer that indicates their relative position in the sort order.
   'Compare(String, String, StringComparison) Compares two specified String objects using the specified rules, and returns an integer that indicates their relative position in the sort order.
   'Compare(String, String, Boolean, CultureInfo) Compares two specified String objects, ignoring or honoring their case, and using culture-specific information to influence the comparison, and returns an integer that indicates their relative position in the sort order.
   'Compare(String, String, CultureInfo, CompareOptions) Compares two specified String objects using the specified comparison options and culture-specific information to influence the comparison, and returns an integer that indicates the relationship of the two strings to each other in the sort order.
   'Compare(String, Int32, String, Int32, Int32) Compares substrings of two specified String objects and returns an integer that indicates their relative position in the sort order.
   'Compare(String, Int32, String, Int32, Int32, Boolean) Compares substrings of two specified String objects, ignoring or honoring their case, and returns an integer that indicates their relative position in the sort order.
   'Compare(String, Int32, String, Int32, Int32, StringComparison) Compares substrings of two specified String objects using the specified rules, and returns an integer that indicates their relative position in the sort order.
   'Compare(String, Int32, String, Int32, Int32, Boolean, CultureInfo) Compares substrings of two specified String objects, ignoring or honoring their case and using culture-specific information to influence the comparison, and returns an integer that indicates their relative position in the sort order.
   'Public methodStatic member Compare(String, Int32, String, Int32, Int32, CultureInfo, CompareOptions) Compares substrings of two specified String objects using the specified comparison options and culture-specific information to influence the comparison, and returns an integer that indicates the relationship of the two substrings to each other in the sort order.
   'CompareOrdinal(String, String) Compares two specified String objects by evaluating the numeric values of the corresponding Char objects in each string.
   'CompareOrdinal(String, Int32, String, Int32, Int32) Compares substrings of two specified String objects by evaluating the numeric values of the corresponding Char objects in each substring.
   'CompareTo(Object) Compares this instance with a specified Object and indicates whether this instance precedes, follows, or appears in the same position in the sort order as the specified Object.
   'CompareTo(String) Compares this instance with a specified String object and indicates whether this instance precedes, follows, or appears in the same position in the sort order as the specified String.
   'Concat(Object) Creates the string representation of a specified object.
   'Concat(Object()) Concatenates the string representations of the elements in a specified Object array.
   'Supported in .NET for Windows Store apps Concat(IEnumerable(Of String)) Concatenates the members of a constructed IEnumerable(Of T) collection of type String.
   'Concat(String()) Concatenates the elements of a specified String array.
   'Concat(Object, Object) Concatenates the string representations of two specified objects.
   'Concat(String, String) Concatenates two specified instances of String.
   'Concat(Object, Object, Object) Concatenates the string representations of three specified objects.
   'Concat(String, String, String) Concatenates three specified instances of String.
   'Public methodStatic member Concat(Object, Object, Object, Object) Concatenates the string representations of four specified objects and any objects specified in an optional variable length parameter list.
   'Concat(String, String, String, String) Concatenates four specified instances of String.
   'Supported in .NET for Windows Store apps Concat(Of T)(IEnumerable(Of T)) Concatenates the members of an IEnumerable(Of T) implementation.
   'Contains Returns a value indicating whether the specified String object occurs within this string.
   'Copy Creates a new instance of String with the same value as a specified String.
   'CopyTo Copies a specified number of characters from a specified position in this instance to a specified position in an array of Unicode characters.
   'EndsWith(String) Determines whether the end of this string instance matches the specified string.
   'EndsWith(String, StringComparison) Determines whether the end of this string instance matches the specified string when compared using the specified comparison option.
   'Public method EndsWith(String, Boolean, CultureInfo) Determines whether the end of this string instance matches the specified string when compared using the specified culture.
   'Equals(Object) Determines whether this instance and a specified object, which must also be a String object, have the same value. (Overrides Object.Equals(Object).)
   'Equals(String) Determines whether this instance and another specified String object have the same value.
   'Equals(String, String) Determines whether two specified String objects have the same value.
   'Equals(String, StringComparison) Determines whether this string and a specified String object have the same value. A parameter specifies the culture, case, and sort rules used in the comparison.
   'Equals(String, String, StringComparison) Determines whether two specified String objects have the same value. A parameter specifies the culture, case, and sort rules used in the comparison.
   'Format(String, Object) Replaces one or more format items in a specified string with the string representation of a specified object.
   'Format(String, Object()) Replaces the format item in a specified string with the string representation of a corresponding object in a specified array.
   'Format(IFormatProvider, String, Object()) Replaces the format items in a specified string with the string representations of corresponding objects in a specified array. A parameter supplies culture-specific formatting information.
   'Format(String, Object, Object) Replaces the format items in a specified string with the string representation of two specified objects.
   'Format(String, Object, Object, Object) Replaces the format items in a specified string with the string representation of three specified objects.
   'GetEnumerator Retrieves an object that can iterate through the individual characters in this string.
   'GetHashCode Returns the hash code for this string. (Overrides Object.GetHashCode.)
   'GetType Gets the Type of the current instance. (Inherited from Object.)
   'GetTypeCode Returns the TypeCode for class String.
   'IndexOf(Char) Reports the zero-based index of the first occurrence of the specified Unicode character in this string.
   'IndexOf(String) Reports the zero-based index of the first occurrence of the specified string in this instance.
   'IndexOf(Char, Int32) Reports the zero-based index of the first occurrence of the specified Unicode character in this string. The search starts at a specified character position.
   'IndexOf(String, Int32) Reports the zero-based index of the first occurrence of the specified string in this instance. The search starts at a specified character position.
   'IndexOf(String, StringComparison) Reports the zero-based index of the first occurrence of the specified string in the current String object. A parameter specifies the type of search to use for the specified string.
   'IndexOf(Char, Int32, Int32) Reports the zero-based index of the first occurrence of the specified character in this instance. The search starts at a specified character position and examines a specified number of character positions.
   'IndexOf(String, Int32, Int32) Reports the zero-based index of the first occurrence of the specified string in this instance. The search starts at a specified character position and examines a specified number of character positions.
   'IndexOf(String, Int32, StringComparison) Reports the zero-based index of the first occurrence of the specified string in the current String object. Parameters specify the starting search position in the current string and the type of search to use for the specified string.
   'IndexOf(String, Int32, Int32, StringComparison) Reports the zero-based index of the first occurrence of the specified string in the current String object. Parameters specify the starting search position in the current string, the number of characters in the current string to search, and the type of search to use for the specified string.
   'IndexOfAny(Char()) Reports the zero-based index of the first occurrence in this instance of any character in a specified array of Unicode characters.
   'IndexOfAny(Char(), Int32) Reports the zero-based index of the first occurrence in this instance of any character in a specified array of Unicode characters. The search starts at a specified character position.
   'IndexOfAny(Char(), Int32, Int32) Reports the zero-based index of the first occurrence in this instance of any character in a specified array of Unicode characters. The search starts at a specified character position and examines a specified number of character positions.
   'Insert Returns a new string in which a specified string is inserted at a specified index position in this instance.
   'Intern Retrieves the system's reference to the specified String.
   'IsInterned Retrieves a reference to a specified String.
   'Public method IsNormalized Indicates whether this string is in Unicode normalization form C.
   'Public method IsNormalized(NormalizationForm) Indicates whether this string is in the specified Unicode normalization form.
   'IsNullOrEmpty Indicates whether the specified string is Nothing or an Empty string.
   'Supported in .NET for Windows Store apps IsNullOrWhiteSpace Indicates whether a specified string is Nothing, empty, or consists only of white-space characters.
   'Supported in .NET for Windows Store apps Join(String, IEnumerable(Of String)) Concatenates the members of a constructed IEnumerable(Of T) collection of type String, using the specified separator between each member.
   'Supported in .NET for Windows Store apps Join(String, Object()) Concatenates the elements of an object array, using the specified separator between each element.
   'Join(String, String()) Concatenates all the elements of a string array, using the specified separator between each element.
   'Join(String, String(), Int32, Int32) Concatenates the specified elements of a string array, using the specified separator between each element.
   'Supported in .NET for Windows Store apps Join(Of T)(String, IEnumerable(Of T)) Concatenates the members of a collection, using the specified separator between each member.
   'LastIndexOf(Char) Reports the zero-based index position of the last occurrence of a specified Unicode character within this instance.
   'LastIndexOf(String) Reports the zero-based index position of the last occurrence of a specified string within this instance.
   'LastIndexOf(Char, Int32) Reports the zero-based index position of the last occurrence of a specified Unicode character within this instance. The search starts at a specified character position and proceeds backward toward the beginning of the string.
   'LastIndexOf(String, Int32) Reports the zero-based index position of the last occurrence of a specified string within this instance. The search starts at a specified character position and proceeds backward toward the beginning of the string.
   'LastIndexOf(String, StringComparison) Reports the zero-based index of the last occurrence of a specified string within the current String object. A parameter specifies the type of search to use for the specified string.
   'LastIndexOf(Char, Int32, Int32) Reports the zero-based index position of the last occurrence of the specified Unicode character in a substring within this instance. The search starts at a specified character position and proceeds backward toward the beginning of the string for a specified number of character positions.
   'LastIndexOf(String, Int32, Int32) Reports the zero-based index position of the last occurrence of a specified string within this instance. The search starts at a specified character position and proceeds backward toward the beginning of the string for a specified number of character positions.
   'LastIndexOf(String, Int32, StringComparison) Reports the zero-based index of the last occurrence of a specified string within the current String object. The search starts at a specified character position and proceeds backward toward the beginning of the string. A parameter specifies the type of comparison to perform when searching for the specified string.
   'LastIndexOf(String, Int32, Int32, StringComparison) Reports the zero-based index position of the last occurrence of a specified string within this instance. The search starts at a specified character position and proceeds backward toward the beginning of the string for the specified number of character positions. A parameter specifies the type of comparison to perform when searching for the specified string.
   'LastIndexOfAny(Char()) Reports the zero-based index position of the last occurrence in this instance of one or more characters specified in a Unicode array.
   'LastIndexOfAny(Char(), Int32) Reports the zero-based index position of the last occurrence in this instance of one or more characters specified in a Unicode array. The search starts at a specified character position and proceeds backward toward the beginning of the string.
   'LastIndexOfAny(Char(), Int32, Int32) Reports the zero-based index position of the last occurrence in this instance of one or more characters specified in a Unicode array. The search starts at a specified character position and proceeds backward toward the beginning of the string for a specified number of character positions.
   'Public method Normalize Returns a new string whose textual value is the same as this string, but whose binary representation is in Unicode normalization form C.
   'Public method Normalize(NormalizationForm) Returns a new string whose textual value is the same as this string, but whose binary representation is in the specified Unicode normalization form.
   'PadLeft(Int32) Returns a new string that right-aligns the characters in this instance by padding them with spaces on the left, for a specified total length.
   'PadLeft(Int32, Char) Returns a new string that right-aligns the characters in this instance by padding them on the left with a specified Unicode character, for a specified total length.
   'PadRight(Int32) Returns a new string that left-aligns the characters in this string by padding them with spaces on the right, for a specified total length.
   'PadRight(Int32, Char) Returns a new string that left-aligns the characters in this string by padding them on the right with a specified Unicode character, for a specified total length.
   'Public methodSupported by Portable Class LibrarySupported in .NET for Windows Store apps Remove(Int32) Returns a new string in which all the characters in the current instance, beginning at a specified position and continuing through the last position, have been deleted.
   'Remove(Int32, Int32) Returns a new string in which a specified number of characters in the current this instance beginning at a specified position have been deleted.
   'Replace(Char, Char) Returns a new string in which all occurrences of a specified Unicode character in this instance are replaced with another specified Unicode character.
   'Replace(String, String) Returns a new string in which all occurrences of a specified string in the current instance are replaced with another specified string.
   'Split(Char()) Returns a string array that contains the substrings in this instance that are delimited by elements of a specified Unicode character array.
   'Public methodSupported by Portable Class LibrarySupported in .NET for Windows Store apps Split(Char(), Int32) Returns a string array that contains the substrings in this instance that are delimited by elements of a specified Unicode character array. A parameter specifies the maximum number of substrings to return.
   'Public methodSupported by Portable Class LibrarySupported in .NET for Windows Store apps Split(Char(), StringSplitOptions) Returns a string array that contains the substrings in this string that are delimited by elements of a specified Unicode character array. A parameter specifies whether to return empty array elements.
   'Public methodSupported by Portable Class LibrarySupported in .NET for Windows Store apps Split(String(), StringSplitOptions) Returns a string array that contains the substrings in this string that are delimited by elements of a specified string array. A parameter specifies whether to return empty array elements.
   'Public methodSupported by Portable Class LibrarySupported in .NET for Windows Store apps Split(Char(), Int32, StringSplitOptions) Returns a string array that contains the substrings in this string that are delimited by elements of a specified Unicode character array. Parameters specify the maximum number of substrings to return and whether to return empty array elements.
   'Public methodSupported by Portable Class LibrarySupported in .NET for Windows Store apps Split(String(), Int32, StringSplitOptions) Returns a string array that contains the substrings in this string that are delimited by elements of a specified string array. Parameters specify the maximum number of substrings to return and whether to return empty array elements.
   'StartsWith(String) Determines whether the beginning of this string instance matches the specified string.
   'StartsWith(String, StringComparison) Determines whether the beginning of this string instance matches the specified string when compared using the specified comparison option.
   'Public method StartsWith(String, Boolean, CultureInfo) Determines whether the beginning of this string instance matches the specified string when compared using the specified culture.
   'Substring(Int32) Retrieves a substring from this instance. The substring starts at a specified character position.
   'Substring(Int32, Int32) Retrieves a substring from this instance. The substring starts at a specified character position and has a specified length.
   'ToCharArray Copies the characters in this instance to a Unicode character array.
   'Public methodSupported by Portable Class LibrarySupported in .NET for Windows Store apps ToCharArray(Int32, Int32) Copies the characters in a specified substring in this instance to a Unicode character array.
   'ToLower Returns a copy of this string converted to lowercase.
   'ToLower(CultureInfo) Returns a copy of this string converted to lowercase, using the casing rules of the specified culture.
   'Public methodSupported by Portable Class LibrarySupported in .NET for Windows Store apps ToLowerInvariant Returns a copy of this String object converted to lowercase using the casing rules of the invariant culture.
   'ToString Returns this instance of String; no actual conversion is performed. (Overrides Object.ToString.)
   'ToString(IFormatProvider) Returns this instance of String; no actual conversion is performed.
   'ToUpper Returns a copy of this string converted to uppercase.
   'ToUpper(CultureInfo) Returns a copy of this string converted to uppercase, using the casing rules of the specified culture.
   'Public methodSupported by Portable Class LibrarySupported in .NET for Windows Store apps ToUpperInvariant Returns a copy of this String object converted to uppercase using the casing rules of the invariant culture.
   'Trim Removes all leading and trailing white-space characters from the current String object.
   'Trim(Char()) Removes all leading and trailing occurrences of a set of characters specified in an array from the current String object.
   'TrimEnd Removes all trailing occurrences of a set of characters specified in an array from the current String object.
   'TrimStart Removes all leading occurrences of a set of characters specified in an array from the current String object.
   'Equality Determines whether two specified strings have the same value.
   'Inequality Determines whether two specified strings have different values.
   'Aggregate(Of Char)(Func(Of Char, Char, Char)) Overloaded. Applies an accumulator function over a sequence. (Defined by Enumerable.)
   'Aggregate(Of Char, TAccumulate)(TAccumulate, Func(Of TAccumulate, Char, TAccumulate)) Overloaded. Applies an accumulator function over a sequence. The specified seed value is used as the initial accumulator value. (Defined by Enumerable.)
   'Aggregate(Of Char, TAccumulate, TResult)(TAccumulate, Func(Of TAccumulate, Char, TAccumulate), Func(Of TAccumulate, TResult)) Overloaded. Applies an accumulator function over a sequence. The specified seed value is used as the initial accumulator value, and the specified function is used to select the result value. (Defined by Enumerable.)
   'All(Of Char) Determines whether all elements of a sequence satisfy a condition. (Defined by Enumerable.)
   'Any(Of Char) Overloaded. Determines whether a sequence contains any elements. (Defined by Enumerable.)
   'Any(Of Char)(Func(Of Char, Boolean)) Overloaded. Determines whether any element of a sequence satisfies a condition. (Defined by Enumerable.)
   'AsEnumerable(Of Char) Returns the input typed as IEnumerable(Of T). (Defined by Enumerable.)
   'Public Extension MethodSupported by Portable Class LibrarySupported in .NET for Windows Store apps AsParallel Overloaded. Enables parallelization of a query. (Defined by ParallelEnumerable.)
   'Public Extension Method AsParallel(Of Char) Overloaded. Enables parallelization of a query. (Defined by ParallelEnumerable.)
   'Public Extension MethodSupported by Portable Class LibrarySupported in .NET for Windows Store apps AsQueryable Overloaded. Converts an IEnumerable to an IQueryable. (Defined by Queryable.)
   'Public Extension Method AsQueryable(Of Char) Overloaded. Converts a generic IEnumerable(Of T) to a generic IQueryable(Of T). (Defined by Queryable.)
   'Average(Of Char)(Func(Of Char, Int32)) Overloaded. Computes the average of a sequence of Int32 values that are obtained by invoking a transform function on each element of the input sequence. (Defined by Enumerable.)
   'Average(Of Char)(Func(Of Char, Nullable(Of Int32))) Overloaded. Computes the average of a sequence of nullable Int32 values that are obtained by invoking a transform function on each element of the input sequence. (Defined by Enumerable.)
   'Average(Of Char)(Func(Of Char, Int64)) Overloaded. Computes the average of a sequence of Int64 values that are obtained by invoking a transform function on each element of the input sequence. (Defined by Enumerable.)
   'Average(Of Char)(Func(Of Char, Nullable(Of Int64))) Overloaded. Computes the average of a sequence of nullable Int64 values that are obtained by invoking a transform function on each element of the input sequence. (Defined by Enumerable.)
   'Average(Of Char)(Func(Of Char, Single)) Overloaded. Computes the average of a sequence of Single values that are obtained by invoking a transform function on each element of the input sequence. (Defined by Enumerable.)
   'Average(Of Char)(Func(Of Char, Nullable(Of Single))) Overloaded. Computes the average of a sequence of nullable Single values that are obtained by invoking a transform function on each element of the input sequence. (Defined by Enumerable.)
   'Average(Of Char)(Func(Of Char, Double)) Overloaded. Computes the average of a sequence of Double values that are obtained by invoking a transform function on each element of the input sequence. (Defined by Enumerable.)
   'Average(Of Char)(Func(Of Char, Nullable(Of Double))) Overloaded. Computes the average of a sequence of nullable Double values that are obtained by invoking a transform function on each element of the input sequence. (Defined by Enumerable.)
   'Average(Of Char)(Func(Of Char, Decimal)) Overloaded. Computes the average of a sequence of Decimal values that are obtained by invoking a transform function on each element of the input sequence. (Defined by Enumerable.)
   'Average(Of Char)(Func(Of Char, Nullable(Of Decimal))) Overloaded. Computes the average of a sequence of nullable Decimal values that are obtained by invoking a transform function on each element of the input sequence. (Defined by Enumerable.)
   'Supported by Portable Class LibrarySupported in .NET for Windows Store apps Cast(Of TResult) Casts the elements of an IEnumerable to the specified type. (Defined by Enumerable.)
   'Concat(Of Char) Concatenates two sequences. (Defined by Enumerable.)
   'Contains(Of Char)(Char) Overloaded. Determines whether a sequence contains a specified element by using the default equality comparer. (Defined by Enumerable.)
   'Contains(Of Char)(Char, IEqualityComparer(Of Char)) Overloaded. Determines whether a sequence contains a specified elemen